<%@ page language="java" pageEncoding="UTF-8"
	contentType="text/html; charset=UTF-8"%>
<%@ include file="../common/inc/tld.jsp"%>
<jsp:include page="../common/inc/header.jsp">
	<jsp:param name="title" value="用户注册" />
</jsp:include>
<%-- <s:fielderror /> --%>
<hr/>

<form action="${ctx}/account/doRegister" method="post">
	<%-- <s:textfield label="用户名" name="accountInfo.username"/> --%>
	用户名:<input type="text" name="accountInfo.username" />
	<s:fielderror cssStyle="color:red"><s:param>accountInfo.username</s:param></s:fielderror>
	<br/>
<%-- 	<s:password label="密码" name="accountInfo.password" required="true" /> --%>
	密码:<input type="text" name="accountInfo.password" />
	<s:fielderror><s:param>accountInfo.password</s:param></s:fielderror>
	<br/>
	<s:password label="重复密码" name="accountInfo.password2" required="true" /><br/>
		<%--
		<tr>
			<td>
				<s:radio label="性别" list="%{#{'1':'男','0':'女'}}" name="accountInfo.sex" value="1" />
			</td>
		</tr>
		
		<tr>
			<td>
				<s:textfield label="邮件" name="accountInfo.email" />
			</td>
		</tr>
		<tr>
			<td>
				<s:checkbox label="有效" name="accountInfo.isAvailable" fieldValue="true"  />
			</td>
		</tr>
		<tr>
			<td>
				<s:select label="选择" name="accountInfo.aaa" list="#{'a':'AAA','b':'BBB'}" listKey="key" listValue="value"/>
			</td>
		</tr>
		--%>
			<input name="submit" type="submit" value="登录" />
</form>
<jsp:include page="../common/inc/footer.jsp" />
<s:debug></s:debug>